/*CSS reset*/
body,
div,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
input,
p,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
}

body {
    width: 100%;
    margin: 0px;
    background-color: #ffffff;
    font: normal 12px/22px 微软雅黑, Arial, Helvetica, sans-serif;
    float: left;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: #333;
}

ul li {
    list-style: none;
}
/* header 样式 */
header {
    width: 100%;
    min-width: 1025px;
    position: relative;
    height: 127px;
    background-color: #0170c1;
}

.header-top {
    width: 100%;
    height: 100px;
    padding-top: 27px;
    background-color: #0170c1;
}

/* 使 header-top-content 使用弹性布局 */
.header-top-content {
    width: 1000px;
    height: 97px;
    margin: 0 auto;
    display: flex; /* 启用 flexbox 布局 */
    justify-content: space-between; /* logo 和搜索框分别靠左和靠右 */
    align-items: center; /* 垂直居中对齐子项 */
}

/* xx-logo 样式 */
.xx-logo {
    width: 224px;
    height: 48px;
    margin-left: 4px;
    margin-right: 16px;
}

/* xy-logo 样式 */
.xy-logo {
    width: 236px;
    height: 57px;
}

/* header-search 样式，保持右对齐 */
.header-search {
    width: 216px;
    height: 36px;
    border: 2px solid #014e87;
    background-color: #ffffff;
    display: flex; /* 使用 flex 布局 */
    align-items: center; /* 垂直居中对齐 */
}

/* 搜索框 input 样式 */
.header-search input.text {
    width: 134px;
    height: 12px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 11px;
    padding-bottom: 11px;
    margin-right: 10px; /* 为按钮添加间距 */
}

/* 搜索按钮 input 样式 */
.header-search-button {
    width: 70px;
    height: 36px;
    background: #014e87;
    font-size: 15px;
    color: #ffffff;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

nav {
    width: 100%;
    height: 50px; 
    display: flex;
    background: #014e87;
}

.nav-body {
    width: 100%;
    margin: 0 auto;
    height: 50px;  
    display: flex;
    align-items: center;
    justify-content: center;
}

.tit {
    height: 50px;  
    line-height: 50px;  
    margin: 0 24px;
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.tit a {
    color: #fff;
    text-decoration: none;
}

.tit:hover {
    background-color: #0170c1; 
}

.tit ul {
    width: 100%;
    background-color: #0170c1;
    display: none;
    position: absolute;
    top: 50px;  
    left: 0;
}

.tit:hover ul {
    display: block;
}

.tit ul li {
    background-color: #0170c1;
    font-size: 15px;
    position: relative;
    z-index: 5;
}

.tit ul li:hover {
    background: #014e87;
}


footer {
    width: 100%;
    min-width: 1027px;
    padding-top: 20px;
    border-top: 3px solid #014e87;
    background-color: #0170c1;
    height: 67px;
    display: flex;  /* 使用 Flexbox 布局 */
    flex-direction: column;  /* 将内容垂直排列 */
    justify-content: center; /* 垂直居中对齐 */
    align-items: center;     /* 水平居中对齐 */
}

.footer-copyright,
.footer-address {
    width: 100%;  /* 宽度占满父容器 */
    text-align: center;  /* 文本居中对齐 */
    font-size: 12px;
    color: #ffffff;
    line-height: 24px;  /* 行高 */
}

.footer-copyright {
    height: 24px;
    margin: 0;
}

.footer-address {
    height: 24px;
    margin: 0;
}
